<template>
	<view class="add-car">
		<TopBar title="添加车辆" />
		<view class="box">
			<view class="info">苏E1234</view>
			<button type="default">解绑</button>
		</view>
		<navigator class="add">
			<text class="icon">+</text>
			<text class="name">添加车辆</text>
		</navigator>
		<text class="footer">本月还可添加3次</text>
	</view>
</template>

<script setup>
	import TopBar from '../../component/topbar.vue'
</script>

<style lang="less">
	.add-car {
		.box {
			width: 686rpx;
			height: 112rpx;
			background: #FFFFFF;
			border-radius: 4rpx;
			border: 2rpx solid #E7E7E7;
			margin: 32rpx;
			display: flex;
			justify-content: space-between;
			align-items: center;

			.info {
				margin-left: 48rpx;
			}

			button {
				width: 120rpx;
				height: 48rpx;
				background: #FFFFFF;
				border-radius: 48rpx;
				border: 2rpx solid #E7E7E7;
				font-size: 22rpx;
				color: #B7B6B6;
				display: flex;
				justify-content: center;
				align-items: center;
				margin-right: 32rpx;
			}
		}

		.add {
			margin-top: 32rpx;
			color: #0680FE;
			font-size: 32rpx;
			display: flex;
			align-items: center;
             	margin-left: 284rpx;
			.icon {
			
				width: 48rpx;
				height: 48rpx;
				border: 2rpx dashed #333;
				/* 统一用 rpx，更适配 */
				border-radius: 8rpx;
				/* 可选：让边角圆润一点 */
				font-weight: bold;
				/* 加粗 + 号 */
				font-size: 40rpx;
				/* 让 + 更大更明显 */
				line-height: 1;
				/* 避免字体上下间距影响居中 */

				display: flex;
				align-items: center;
				justify-content: center;
			}

			.name {
				margin-left: 8rpx;

			}
		}

		.footer {

			width: 182rpx;
			height: 24rpx;
			font-family: 'Source Han Sans CN, Source Han Sans CN';
			font-weight: 400;
			font-size: 24rpx;
			color: #999999;
			line-height: 24rpx;
			text-align: left;
			font-style: normal;
			text-transform: none;
			margin-left: 284rpx;
		}
	}
</style>